<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>  
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">  
<html>  
  <head>  
    <title>文件上传</title>  
  </head>  
    
  <body> 
  <h1>文件上传</h1> 
    <form action="<%=request.getContextPath()%>/File/doUpload" method="post" enctype="multipart/form-data">
    	<input type="file" name="file"/>
    	<input type="submit"/>
    </form>
  </body>  
</html>  